<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
   xmlns:h="http://xmlns.jcp.org/jsf/html"
   xmlns:p="http://primefaces.org/ui"   
   xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
   template="/WEB-INF/templates/default.xhtml">
   
   	<f:metadata>	   	
	   
	   	<f:viewParam name="moduleName" value="数据统计"></f:viewParam>
   	</f:metadata>
   <ui:define name="head">
   		<style type="text/css">
   			.label {
				width: 20%;			
				background-color: #f5f8fb;					
			}
			.value {
				width: 30%;
			}
   		</style>
   </ui:define>
   	<ui:define name="content">
   
		<h:form id="viewForm">
			<p:panel  header="数据统计" style="min-height:560px;">
				<p:panelGrid cellpadding="5">
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="入驻中介数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.supplierCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="采购人数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.buyerCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="当天发布公告数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.auditedBulletinTodayCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="当天中选数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.overBulletinTodayCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="当月中选数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.overBulletinMonthCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			       	<p:row>
			       		<p:column styleClass="label">        			
							<p:outputLabel  value="共完成选取数量" />							
			       		</p:column>
			       		<p:column styleClass="value" colspan="3">
							<h:outputText  value="#{statisticsController.overBulletinAllCount}"/>       		
			       		</p:column>
			       	</p:row>
			       	
			      </p:panelGrid> 	
			</p:panel>	
		</h:form>	
   	</ui:define>
</ui:composition>
